package com.yunbiji.demo.entity;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * (CnNote)实体类
 *
 * @author makejava
 * @since 2021-06-23 21:01:43
 */

@ToString
@NoArgsConstructor
@AllArgsConstructor
public class CnNote implements Serializable {
    private static final long serialVersionUID = -20599189175821995L;
    /**
     * 笔记ID
     */
    private String cnNoteId;
    /**
     * 笔记本ID
     */
    private String cnNotebookId;
    /**
     * 用户ID
     */
    private String cnUserId;
    /**
     * 笔记状态ID:备用
     */
    private String cnNoteStatusId;
    /**
     * 笔记本类型ID：备用
     */
    private String cnNoteTypeId;
    /**
     * 笔记标题
     */
    private String cnNoteTitle;
    /**
     * 笔记内容
     */
    private String cnNoteBody;
    /**
     * 笔记创建时间
     */

    private Date cnNoteCreateTime;
    /**
     * 笔记最近修改时间
     */
    private Date cnNoteLastModifyTime;



    public String getCnNoteId() {
        return cnNoteId;
    }

    public void setCnNoteId(String cnNoteId) {
        this.cnNoteId = cnNoteId;
    }

    public String getCnNotebookId() {
        return cnNotebookId;
    }

    public void setCnNotebookId(String cnNotebookId) {
        this.cnNotebookId = cnNotebookId;
    }

    public String getCnUserId() {
        return cnUserId;
    }

    public void setCnUserId(String cnUserId) {
        this.cnUserId = cnUserId;
    }

    public String getCnNoteStatusId() {
        return cnNoteStatusId;
    }

    public void setCnNoteStatusId(String cnNoteStatusId) {
        this.cnNoteStatusId = cnNoteStatusId;
    }

    public String getCnNoteTypeId() {
        return cnNoteTypeId;
    }

    public void setCnNoteTypeId(String cnNoteTypeId) {
        this.cnNoteTypeId = cnNoteTypeId;
    }

    public String getCnNoteTitle() {
        return cnNoteTitle;
    }

    public void setCnNoteTitle(String cnNoteTitle) {
        this.cnNoteTitle = cnNoteTitle;
    }

    public String getCnNoteBody() {
        return cnNoteBody;
    }

    public void setCnNoteBody(String cnNoteBody) {
        this.cnNoteBody = cnNoteBody;
    }

    public Date getCnNoteCreateTime() {
        return cnNoteCreateTime;
    }

    public void setCnNoteCreateTime(Date cnNoteCreateTime) {
        this.cnNoteCreateTime = cnNoteCreateTime;
    }

    public Date getCnNoteLastModifyTime() {
        return cnNoteLastModifyTime;
    }

    public void setCnNoteLastModifyTime(Date cnNoteLastModifyTime) {
        this.cnNoteLastModifyTime = cnNoteLastModifyTime;
    }

    @Override
    public String toString() {
        return "CnNote{" +
                "cnNoteId='" + cnNoteId + '\'' +
                ", cnNotebookId='" + cnNotebookId + '\'' +
                ", cnUserId='" + cnUserId + '\'' +
                ", cnNoteStatusId='" + cnNoteStatusId + '\'' +
                ", cnNoteTypeId='" + cnNoteTypeId + '\'' +
                ", cnNoteTitle='" + cnNoteTitle + '\'' +
                ", cnNoteBody='" + cnNoteBody + '\'' +
                ", cnNoteCreateTime=" + cnNoteCreateTime +
                ", cnNoteLastModifyTime=" + cnNoteLastModifyTime +
                '}';
    }
}